
@import "./ant.less";
// @primaryColor: rgb(22, 129, 252);
@primaryColor: @primary-color;
// @primaryColor: #00E0E9;

body {
  background-color: #f9fafa;
  color: #333;
  // -webkit-filter: grayscale(100%);
  // -moz-filter: grayscale(100%);
  // -ms-filter: grayscale(100%);
  // -o-filter: grayscale(100%);
  // filter: grayscale(100%);
}

html,
body {
  scroll-behavior: smooth;
  min-width: 1300px;
  height: inherit;
  // user-select: none;
}

textarea {
  overflow: auto;
  resize: none;
}

article,
aside,
blockquote,
body,
button,
dd,
details,
div,
dl,
dt,
fieldset,
figcaption,
figure,
footer,
form,
h1,
h2,
h3,
h4,
h5,
h6,
header,
hgroup,
hr,
input,
legend,
li,
menu,
nav,
ol,
p,
section,
td,
textarea,
th,
ul {
  margin: 0;
  padding: 0;
}

ol,
ul,
li {
  list-style: none;
}

a:focus {
  text-decoration: none;
}

h1 {
  font-size: 20px;
  font-weight: 700;
}

.textIndent2 {
  text-indent: 2rem;
}

.lh25 {
  line-height: 25px;
}

h2 {
  font-size: 20px;
  font-weight: 700;
}

/*控制整个滚动条*/
::-webkit-scrollbar {
  background-color: rgb(233, 233, 233);
  width: 10px;
  height: 10px;
  background-clip: padding-box;
  border-radius: 5px;
}

/*滚动条中间滑动部分*/
::-webkit-scrollbar-thumb {
  background-color: rgb(190, 190, 190);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background-color: rgb(141, 141, 141);
}

// 样式
.between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.betweens {
  display: flex;
  justify-content: space-between;
}

.around {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.column {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-flow: column;
}

.column1 {
  display: flex;
  flex-flow: column;
}

.column-center {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-flow: column;
}

.center {
  display: flex;
  justify-content: center;
  align-items: center;
}

a {
  font-weight: 500;
  color: #646cff;
  text-decoration: inherit;
}
a:hover {
  color: #535bf2;
}

body {
  margin: 0;
  display: flex;
  place-items: center;
  min-width: 320px;
  // min-height: 100vh;
}

h1 {
  font-size: 3.2em;
  line-height: 1.1;
}

button {
  border-radius: 8px;
  border: 1px solid transparent;
  padding: 0.6em 1.2em;
  font-size: 1em;
  font-weight: 500;
  font-family: inherit;
  background-color: #1a1a1a;
  cursor: pointer;
  transition: border-color 0.25s;
}
button:hover {
  border-color: #646cff;
}
button:focus,
button:focus-visible {
  outline: 4px auto -webkit-focus-ring-color;
}

.card {
  padding: 2em;
}

#app {
  width: 100%;
  height: 100%;
  min-width: 1280px;
  margin: 0 auto;
  // padding: 2rem;
  // text-align: center;
  background-color: #efefef;
}

@media (prefers-color-scheme: light) {
  // :root {
  //   color: #213547;
  //   background-color: #ffffff;
  // }
  a:hover {
    color: #747bff;
  }
  button {
    background-color: #f9f9f9;
  }
}

.logoutIcon {
  font-size: 30px;
  color: #fff;
  cursor: pointer;
}

.mt10 {
  margin-top: 10px;
}

.mb10 {
  margin-bottom: 10px;
}

.ml10 {
 margin-left: 10px;
}

.mr8 {
  margin-right: 8px;
}

.mr10 {
  margin-right: 10px;
}

.tableHeader {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.cursor {
  cursor: pointer;
}

.topInfo {
  width: 100%;
  height: 100%;
  display: flex;
  // align-items: center;
  justify-content: center;
}
.detailsHeader {
  width: 60%;
  height: 80%;
  // border-bottom: 1px solid #eee;
  color: #fff;
  display: flex;
  flex-direction: column;
  // align-items: center;
  justify-content: center;
  .detailsTitle {
    width: 100%;
    font-size: 20px;
    text-align: left;
    font-weight: bold;
  }
  .detailsCountBox {
    width: 100%;
    height: 30px;
    display: flex;
    flex-direction: row;
    // justify-content: center;
    align-items: center;
  }
  .detailsTimeAndTag {
    width: 100%;
    display: flex;
    flex-direction: row;
    // justify-content: center;
    align-items: center;
  }
  .tagBox {
    width: 100%;
    margin-top: 10px;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    .tag {
      font-size: 12px;
    }
  }
  .breadcrumb {
    text-align: left;
    margin-top: 10px;
    .ant-breadcrumb, .ant-breadcrumb-separator {
      color: #aaa;
    }
    .ant-breadcrumb>span {
      cursor: pointer;
    }
    .ant-breadcrumb>span:last-child, .ant-breadcrumb>span:last-child a {
      color: #fff;
    }
  }
}

.detailsContent {
  padding: 30px 0;
  box-sizing: border-box;
  font-size: 16px;
} 
.revokeBack {
  position: absolute;
  top: 10px;
  z-index: 10;
  left: 20px;
  color: #000;
  font-size: 30px;
  .revokeBackIcon {
    background-color: #eee;
    padding: 5px;
    border-radius: 6px;
  }
}


.banner {
  width: 100%;
  height: 260px;
  box-sizing: border-box;
  background-color: rgba(0, 0, 0, 0.9);
  margin-bottom: 20px;
  position: relative;
  box-shadow: 0 4px 6px 2px #eee;
  .editorial {
    height: 40px;
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
  }
  .parallax > use {
    animation: move-forever 12s linear infinite;
  }

  .parallax > use:nth-child(1) {
    animation-delay: -2s;
    opacity: 0.5;
  }

  .parallax > use:nth-child(2) {
    animation-delay: -2s;
    animation-duration: 5s;
    opacity: 0.6;
  }

  .parallax > use:nth-child(3) {
    animation-delay: -4s;
    animation-duration: 3s;
    opacity: 0.7;
  }
  .parallax > use:nth-child(4) {
    animation-delay: -5s;
    animation-duration: 2s;
    opacity: 0.8;
  }

  @keyframes move-forever {
    0% {
      transform: translate(-90px, 0%);
    }
    100% {
      transform: translate(85px, 0%);
    }
  }
}

.siteLogo {
  width: 20px;
  height: 20px;
  margin-bottom: 5px;
}

.avatarimg {
  width: 50px !important;
  height: 50px;
}


.hotNewsTitle {
  width: 100%;
  border-bottom: 1px solid #000;
  font-size: 18px;
  font-weight: bold;
  font-style: italic;
  text-align: left;
  line-height: 35px;
  margin-bottom: 15px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px 0 10px;
  box-sizing: border-box;
  .titleText {
    display: flex;
    flex-direction: row;
    align-items: center;
    &::before {
      content: "";
      display: inline-block;
      width: 5px;
      height: 20px;
      background-color: #000;
      margin-right: 10px;
    }
  }
  .reload {
    cursor: pointer;
  }
}